FROM swr.cn-north-4.myhuaweicloud.com/cfhy-dev/nginx:1.17.9-alpine
RUN rm /etc/nginx/conf.d/default.conf
ADD ./dist /usr/share/nginx/html/front-dl
ADD nginx/front-dl.conf  /etc/nginx/conf.d/front-dl.conf
ADD nginx/nginx.conf  /etc/nginx/nginx.conf
EXPOSE 80 443
CMD ["nginx", "-g","daemon off;"]
